import generate from './shared/generator.mjs';
import Formatter from './shared/formatter.mjs';
import fs from 'fs';
import dayjs from 'dayjs';

const questions = generate({
    count: 60,
    patterns: ['++--'],
});
const content = Formatter.convertToHtml(questions, { column: 4 });
fs.writeFileSync(`./output/math-${dayjs().format('YYYYMMDD')}.html`, content);
